/*
 * @desc:
 * @Author: 钟强
 * @Date: 2021-11-30 16:05:48
 * @LastEditors: 钟强
 * @LastEditTime: 2021-12-03 16:16:24
 */

import request from '@/utils/request'

/**
 * 登陆
 */

export const login = (data) => {
  return request({
    url: '/sys/login',
    method: 'POST',
    data
  })
}

// 获取用户信息
export const getUserInfo = () => {
  return request({ url: '/sys/profile' })
}
